﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using RoadTeam.BLL;

public partial class 对接测试页面_NewValidateObject_ : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
       // DataTable dt = RoadTeam.Pase.PaseHomeInspection.GetValidatePro2DataByPage(OrganIdentifier.Text,
       //Convert.ToInt32(TextBox1.Text), Convert.ToInt32(TextBox2.Text));

        ValidatePro2Bll bll = new ValidatePro2Bll();

        DataTable dt = bll.GetValidatePro2DataByPage(OrganIdentifier.Text,
       Convert.ToInt32(TextBox1.Text), Convert.ToInt32(TextBox2.Text));



        TextBox1.Text = (Convert.ToInt32(TextBox1.Text) + 1).ToString();
        GridView1.DataSource = dt;
        GridView1.DataBind();

        foreach (DataRow dr in dt.Rows)
        {
            Response.Write("<p>" + dr .RowState.ToString()+ "</p>");
        }




    }
}